package com.sdy.sso.biz.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.model.BaseModel;
import com.sdy.common.utils.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author fb
 * @since 2002/3/23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysApplication extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private Integer id;

    /**
     * 应用名称
     */
    private String name;

    /**
     * 应用代码
     */
    private String code;

    /**
     * 应用地址
     */
    private String url;

    private Integer resId;

    /**
     * 应用描述
     */
    private String description;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date updateTime;

}
